programs.fish.functions.<name>.onSignal

Tells fish to run this function when the specified signal is delivered. The signal can be a signal number or signal name.

Type
null or string or signed integer
Default
null
Example
[
  "SIGHUP"
  "HUP"
  1
]